@import './../common.less';
@import './../lxa.less';
.copy-modal {
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  &.copy-modal-show {
    opacity: 1;
    visibility: visible;
    .copy-modal-bg {
      opacity: 1;
      visibility: visible;
    }
    .copy-modal-content {
      transition: all 0.2s ease-in-out;
      bottom: 0;
    }
  }
  .copy-modal-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 3;
  }

  .copy-modal-content {
    position: fixed;
    bottom: -70%;
    left: 0;
    width: 100%;
    height: 70%;
    background-color: #fff;
    padding: 1.06rem 0.8rem;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    border-radius: 5px 5px 0 0;
    z-index: 3;

    .close-btn {
      position: absolute;
      right: 0.53rem;
      top: 0.53rem;
      width: 0.96rem;
      height: 0.96rem;
      z-index: 5;

      .close {
        width: 0.96rem;
        height: 0.96rem;
      }
    }

    .handle-btn {
      position: absolute;
      bottom: 0.53rem;
      left: 0;
      width: 100%;
      box-sizing: border-box;
      padding: 0 0.8rem;
    }

    .sub-btn {
      text-align: center;
      .btn(@w:100%, @h:2.13rem, @c:#fff, @br:1.06rem, @bg: @orange);

      &:after {
        border: none;
      }
    }
  }
}

.info-header {
  display: flex;

  .goods-img {
    width: 6.66rem;
    height: 4.8rem;
  }

  .goods-info {
    flex: 1;
    padding-left: 0.53rem;
    padding-right: 2.13rem;

    .info-title {
      height: 2.13rem;
      font-size: 15px;
      color: @black;
    }

    .info-price {
      margin-top: 1.6rem;
      display: inline-block;
      color: @orange;
      font-size: 14px;

      .rmb {
        font-size: 18px;
        margin-left: 0.13rem;
        display: inline;
      }
    }
  }
}
.skus-info {
  margin-top: 0.8rem;

  .skus-item {
    margin-top: 0.8rem;
    &:first-child {
      margin-top: 0;
    }
  }

  .sku-label {
    font-size: 15px;
    line-height: 20px;
    color: @black;
    display: inline;
  }
  .sku-label.active {
    .it {
      background-color: @orange;
      color: #fff;
    }
  }
  .sku-items {
    .it {
      display: inline-block;
      margin-top: 0.8rem;
      padding: 0.53rem;
      border-radius: 5px;
      background-color: #f5f5f5;
      color: @black;
      margin-right: 0.53rem;
    }
  }
}
.buy-num {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  line-height: 20px;
  margin-top: 0.8rem;

  .num-btns {
    border: 1px solid @grey-4;
    border-radius: 5px;
    display: flex;

    .subtract-btn,
    .add-btn {
      width: 1.6rem;
      height: 1.33rem;
      text-align: center;
      line-height: 1.33rem;
      color: @lightBlack;
    }

    .input-btn {
      border-right: 1px solid @grey-4;
      border-left: 1px solid @grey-4;

      .input {
        width:2.08rem;
        height: 1.33rem;
        text-align: center;
        outline: none;
      }
    }
  }
}
